using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.Rendering.Universal.Internal;

public class TouchPad : MonoBehaviour, IPointerDownHandler, IPointerUpHandler
{
    public void OnPointerDown(PointerEventData eventData)
    {
        UIManager.Instance.HideOrDestroy(PanelId.MainMenu);
        UIManager.Instance.CreateOrOpen(PanelId.Ingame);
        Main.Instance.level.ResetForce();
        Main.Instance.gameStatus = GameStatus.Playing;
    }

    public void OnPointerUp(PointerEventData eventData)
    {
    }
}
